package com.kcwl.carrier.infrastructure.repository.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.kcwl.ddd.domain.repository.BasePO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author 张志强
 * @date 2022年12月27日 17:11
 * @Description
 */
@TableName("carrier_collection_company_info")
@Data
public class CarrierCollectionCompanyInfoPO extends BasePO<CarrierCollectionCompanyInfoPO> {

    @ApiModelProperty(value = "主键")
    @TableField("id")
    private Long id;

    @ApiModelProperty(value = "收藏人id")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty(value = "企业ID")
    @TableField("enterprise_id")
    private Long enterpriseId;

    @ApiModelProperty(value = "发运部门ID")
    @TableField("department_id")
    private Long departmentId;

    @ApiModelProperty(value = "备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value = "是否有效 0是1否")
    @TableField("is_del")
    private Byte isDel;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField("create_user_id")
    private Long createUserId;

    @ApiModelProperty(value = "修改时间")
    @TableField("update_time")
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    @TableField("update_user_id")
    private Long updateUserId;

    @ApiModelProperty(value = "平台码标识")
    @TableField("platform_no")
    private Integer platformNo;
    @ApiModelProperty(value = "0：2.0，1:6.0")
    @TableField("data_source")
    private Integer dataSource;
}

